package com.qingcheng.dao;

import com.qingcheng.pojo.goods.Category;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface CategoryMapper extends Mapper<Category> {


    /**
     * 查询所有分类的name
     * @return
     */
    @Select("SELECT name FROM tb_category")
    public List<String> findAllCategory();
}
